<div style="width:600px; height:550px; margin-left:30px; background-color:#fff;">
  <center><img src="<?php e($this->base) ?>/img/step4.png" style="margin-top:15px;" /></center>
  <div id="pages" style="width:560px; padding:15px 20px 20px;">
    <form id="form-payment" method="post" action="<?php e($this->base); ?>/orders/proceed">
      <div style="border:1px solid #ccc; padding:10px; margin-bottom:20px;">
        <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center">
          <tr>
            <td width="50%" valign="top">
              <div style="font-weight:bold;"><?php __('Payment Method'); ?></div>
              <div><?php e($data['payment_method']); ?></div>
            </td>
            <td width="50%" valign="top">
              <div style="margin:1px 0 3px; font-weight:bold;"><?php __('Shipping Address'); ?></div>
              <div><?php e(nl2br($data['address'])); ?></div>
              <div><?php e($data['city'].', '.$data['state']); ?></div>
              <div><?php e($data['country']); ?></div>
            </td>
          </tr>
        </table>
      </div>

      <div style="border:1px solid #ccc; padding:10px; margin-bottom:20px;">
        <table width="100%" cellpadding="3" cellspacing="0" border="0">
          <tr>
            <td><strong><?php __('Product'); ?></strong></td>
            <td align="right"><strong><?php __('Quantity'); ?></strong></td>
            <td align="right"><strong><?php __('Price'); ?></strong></td>
            <td align="right"><strong><?php __('Total'); ?></strong></td>
          </tr>
<?php     $total = 0;
          foreach ($cart as $c) {
              $total += $c['total']; ?>
          <tr>
            <td><?php e($c['name']); ?></td>
            <td align="right"><?php e($c['qty']); ?></td>
            <td align="right"><?php e(number_format($c['price'], 2)); ?></td>
            <td align="right"><?php e(number_format($c['total'], 2)); ?></td>
          </tr>
<?php     } ?>
          <tr>
            <td colspan="4" align="right" style="padding-top:20px;"><?php __('Sub-Total'); ?>: RM<?php e(number_format($total, 2)); ?></td>
          </tr>
          <tr>
            <td colspan="4" align="right"><?php __('Shipping'); ?>: RM<?php e(number_format($data['shipping'], 2)); ?></td>
          </tr>
          <tr>
            <td colspan="4" align="right"><?php __('Total'); ?>: RM<?php e(number_format($total+$data['shipping'], 2)); ?></td>
          </tr>
        </table>
      </div>

      <h3 style="margin-bottom:3px;"><?php __('Your Comment'); ?></h3>
      <div style="border:1px solid #ccc; padding:10px;"><?php e(nl2br($data['comment'])); ?></div>
      <div class="clear"></div>
      <div class="fLeft"><input type="button" value="<?php __('Back'); ?>" style="margin-top:20px; display:block;" onclick="history.go(-1);" /></div>
      <div class="fRight">
<?php foreach ($data as $k=>$v) { ?>
        <input type="hidden" name="<?php e($k); ?>" value="<?php echo htmlentities($v, ENT_COMPAT); ?>" />
<?php } ?>
        <input type="submit" value="<?php __('Confirm Order'); ?>" style="margin-top:20px; display:block;" />
      </div>
      <div class="clear"></div>
    </form>
  </div>
</div>